import request from '@/utils/request'

// 查询仰口备件出库月报列表
export function listOutStockMonth(query) {
  return request({
    url: '/report/outStockMonth/list',
    method: 'get',
    params: query
  })
}

// 查询仰口备件出库月报详细
export function getOutStockMonth(id) {
  return request({
    url: '/report/outStockMonth/' + id,
    method: 'get'
  })
}

// 新增仰口备件出库月报
export function addOutStockMonth(data) {
  return request({
    url: '/report/outStockMonth',
    method: 'post',
    data: data
  })
}

// 修改仰口备件出库月报
export function updateOutStockMonth(data) {
  return request({
    url: '/report/outStockMonth',
    method: 'put',
    data: data
  })
}

// 删除仰口备件出库月报
export function delOutStockMonth(id) {
  return request({
    url: '/report/outStockMonth/' + id,
    method: 'delete'
  })
}


export function getOutStockList(query) {
  return request({
    url: '/report/outStockMonth/selectOutStockList',
    method: 'get',
    params: query
  })
}
